package com.acmedcare.aclauncher.storage;


import android.database.sqlite.SQLiteDatabase;



/**
 * Created by John on 2017/5/31.
 */

public class StorageManager {
    private static volatile StorageManager instance;
    private SQLiteDatabase mDb;
    private StorageManager(){

    }
    public static StorageManager getInstance(){
        if(instance == null){
            synchronized (StorageManager.class) {
                instance = new StorageManager();
                instance.init();
            }
        }
        return instance;
    }

    public void init(){

    }


   public void reset(){

       mDb.close();
       instance = null;
   }
}
